#ifndef CAR_OWNERSHIP_H
#define CAR_OWNERSHIP_H

#include "car_ownership_struct_csv.hpp"
#include "csv_struct.hpp"

class car_ownership
{
  public:
	inline virtual ~car_ownership() {};

	//virtual bool exist(int _id) =0 ;
	//virtual std::string const name(int _id) =0;

  private:
};


// implementation for csv files
class car_ownership_csv: public car_ownership
{
  public:
	inline car_ownership_csv(char* filename): file(filename)
	{ }

  private:

	static car_ownership_struct_csv const find(int _id);	

  private:
	std::string file;
};

#endif
